<script setup lang="ts">
import ChildPage from './ChildPage.vue'
import { ref } from 'vue'

const list = [
  { lable: '男', value: 1 },
  { lable: '女', value: 0 }
]
const v = ref<string | number>(1)
</script>

<template>
  <div class="article-page">
    {{ v }}
    <!-- <child-page :list="list" :val="v" @update:val="v = $event"></child-page> -->
    <child-page :list="list" v-model:val="v"></child-page>
  </div>
</template>

<style lang="scss" scoped></style>
